<select name="${name}" lay-filter="${name}_filter"
${readonly!''}
>
    <option value="">${tips!''}</option>
    @if(dict.has(dic)){
        @for(item in dict.get(dic).list){
            <option value="${item.code}">${item.name}</option>
        @}
    @}
</select>

<script>
    layui.use('element', function () {
        var element = layui.element;
        element.render('${name}_filter');
    });

</script>